package org.zmhhxl.quickstart;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.Environment;

/**
 * Hello world!
 *
 */
@SpringBootApplication
public class QuickStartApplication
{
    public static void main( String[] args )
    {   ConfigurableApplicationContext run = SpringApplication.run(QuickStartApplication.class, args);

        // 查看 Environment
        Environment environment = run.getEnvironment();
        //断点调试查看environment对象
        System.out.println( "Hello World!" );
    }
}
